package objectTemplate;

import javax.swing.ImageIcon;

public class Template {
	
	private int id;
	private String description;
	private String display;
	private String name;
	private String text;
	private int numberBranch;
	private ImageIcon image;
	
	public Template(int id, String description, String display, String name, String text, int numberBranch, ImageIcon image) {
		this.id = id;
		this.description = description;
		this.display = display;
		this.name = name;
		this.text = text;
		this.numberBranch = numberBranch;
		this.image = image;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDisplay() {
		return display;
	}

	public void setDisplay(String display) {
		this.display = display;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public int getNumberBranch() {
		return numberBranch;
	}

	public void setNumberBranch(int numberBranch) {
		this.numberBranch = numberBranch;
	}

	public ImageIcon getImage() {
		return image;
	}

	public void setImage(ImageIcon image) {
		this.image = image;
	}

	@Override
	public String toString() {
		return "Name: " + name + "		|		Formula: " + text;
	}
	
	
}
